package de.gbeine.java.depview.event;

import de.gbeine.java.depview.mousemode.MouseModeStrategy;

/**
 *
 * @author gbeine
 *
 */
public class MouseModeEvent extends Event {

    private final MouseModeStrategy strategy;

    /**
     *
     * @param pSource
     * @param pFilename
     */
    public MouseModeEvent(final Object pSource, final MouseModeStrategy pStrategy) {
        super(pSource);
        this.strategy = pStrategy;
    }

    /**
     *
     * @return
     */
    public MouseModeStrategy getMouseMode() {
        return this.strategy;
    }
}
